package com.restaurant.application.level.support;

import com.nebutown.base.data.View;
import com.nebutown.base.data.ViewUpdate;
import com.nebutown.supporthome.AbstractImpl;
import com.nebutown.supporthome.CmdCapsule;
import com.restaurant.application.level.Level;
import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class AbstractLevel extends AbstractImpl implements Level {
    
    private static final Logger logger = LoggerFactory.getLogger(Level.class);
    
    public final Class<?> getEffectiveInterface() {
        return Level.class;
    }
    
    public Logger getLogger() {
        return logger;
        
    }
    
    private static final String privateDataType = "LevelData";
    
    public LevelData getData() {
        return escort.getData(LevelData.class);
    }
    
    public void setData(LevelData data) {
        escort.setData(data);
    }
    public static CmdCapsule CMD_SAVE = new CmdCapsule("save", 0, LevelData.class);
    public abstract ViewUpdate save(LevelData save, int[] seq);
    public static CmdCapsule CMD_CANCEL = new CmdCapsule("cancel", 1, null);
    public abstract ViewUpdate cancel(int[] seq);
}
